﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class DetailShopService
	{
		private static readonly DetailShopDAL db = new DetailShopDAL();
		#region[DetailShop_GetById]
		public static DataTable DetailShop_GetById(string Data)
		{
			return db.DetailShop_GetById(Data);
		}
		#endregion
		#region[DetailShop_GetByAll]
		public static DataTable DetailShop_GetByAll()
		{
			return db.DetailShop_GetByAll();
		}
		#endregion
		#region[DetailShop_GetByTop]
		public static DataTable DetailShop_GetByTop(string Top, string Where, string Order)
		{
			return db.DetailShop_GetByTop(Top, Where, Order);}
		#endregion
		#region[DetailShop_Insert]
		public static void DetailShop_Insert(DetailShopInfo Data)
		{
			 db.DetailShop_Insert(Data);
		}
		#endregion
		#region[DetailShop_Update]
		public static void DetailShop_Update(DetailShopInfo Data)
		{
			 db.DetailShop_Update(Data);
		}
		#endregion
		#region[DetailShop_Delete]
		public static void DetailShop_Delete(string Data)
		{
			 db.DetailShop_Delete(Data);
		}
		#endregion
	}
}